<!DOCTYPE html PUBLIC "-//W3C//DTD html 4.01 Transitional//EN">
<html >
	<head >
		<?php echo $header; ?>
	</head>
	<body>
		<div id="" class="header"><?php echo $title; ?></div>
		<?php echo form_open("doctypes/nJ", array('name'=>'create_doctype_form'))?>
		<table width="100%" class="tbl">
		<tr>
			<td>
				<?php echo $code; ?>
			</td>
			<td>
				<?php echo $code_field; ?><br>
				<font color="red"><?php echo $this->validation->code_error; ?></font>
			</td>
		</tr>
		<tr>
			<td>
				<?php echo $typedoc_name; ?>
			</td>
			<td>
				<?php echo $typedoc_name_field; ?><br>
				<font color="red"><?php echo $this->validation->typedoc_name_error; ?></font>
			</td>
		</tr>
		<tr>
			<td>
				<?php echo $controller; ?>
			</td>
			<td>
				<?php echo $controller_field; ?><br>
				<font color="red"><?php echo $this->validation->controller_error; ?></font>
			</td>
		</tr>
		<tr>
			<td>
				<?php echo $descr; ?>
			</td>
			<td>
				<?php echo $descr_field; ?><br>
				<font color="red"><?php echo $this->validation->descr_error; ?></font>
			</td>
		</tr>
		<tr>
			<td>
				<?php echo $archive; ?>
			</td>
			<td>
				<?php echo $archive_field; ?><br>
				<font color="red"><?php echo $this->validation->archive_error; ?></font>
			</td>
		</tr>
		</table>
		<center>
			<?php echo form_submit('create_new_submit','OK'); ?>
			 <!-- 
			 <?php echo $this->ajax->submit_to_remote('create_new_submit', 'OK', array('url'=>'doctypes/nj', 'update'=>'window.opener.doctypes_journal')); ?>
			  -->
		</center>
		<?php echo form_close(); ?>
	</body>
</html>	
